package com.jbit.springboot_redis.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jbit.springboot_redis.entity.Shop;
import com.jbit.springboot_redis.mapper.ShopMapper;
import com.jbit.springboot_redis.service.IShopService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2021-06-09
 */
@Service
public class ShopServiceImpl extends ServiceImpl<ShopMapper, Shop> implements IShopService {
//  @Autowired
//  private ShopMapper shopMapper;
//  @Override
//  public List<Shop> findAll() {
//    QueryWrapper queryWrapper =new QueryWrapper();
//    queryWrapper.select();
//    List<Shop> list=shopMapper.selectList(queryWrapper);
//    return list;
//  }
}
